<div class="razdel" id="content">
    	<div id="conteiner">
        	<div id="left">
            	<div id="leftCont">	
                	<div class="boeder">
                		<% unless @products.blank? %>
	                    	<div class="main-title">
	                        	Продукты с тегом "<%= params[:id]%>"
	                        </div>
                        <% end %>
               			
						<% @products.each do |product| %>
	                      <div class="block">
	                      	<%= link_to product.title, category_article_path(product.category, product), :class=>"title" %><br/><br/>
							<div class="date">(создано <%= product.created_at.strftime("%d.%m.%Y")%>)</div>
	                      </div>
						<% end %>
                        
                        <% unless @articles.blank? %>
                        <div class="main-title">
                        	Статьи с тегом "<%= params[:id]%>"
                        </div>
                        <% end %>
               
						<% @articles.each do |article| %>
	                      <div class="block">
	                      	<%= link_to article.title, article_path(article), :class=>"title" %><br/><br/>
							<div class="date">(создана <%= article.created_at.strftime("%d.%m.%Y")%>)</div>
	                      </div>
						<% end %>
						
                    </div>
                </div>
            </div>
        </div>
    </div>
